//package com.ytf.auth.controller;
//
//import com.ytf.auth.model.LoginRequest;
//import com.ytf.auth.model.LoginResponse;
//import com.ytf.auth.service.AuthService;
//import com.ytf.core.common.Resp;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
///**
// * @className: AuthController
// * @author: YTF
// * @date: 2025/4/10 15:13
// * @version: 1.0
// * @description: 认证接口
// */
//@RestController
//@RequestMapping("/auth")
//public class AuthController {
//
//    @Autowired
//    private AuthService authService;
//
//    @GetMapping("/hello")
//    public String hello() {
//        return "hello auth";
//    }
//
//    @PostMapping("/login")
//    public Resp<LoginResponse> login(@RequestBody LoginRequest request) {
//        LoginResponse login = authService.login(request);
//        return Resp.success(login);
//    }
//
//
//}
